package com.yh.homestay.service;

import com.yh.homestay.common.CapitalGoodsResult;
import com.yh.homestay.common.HomeStayResult;
import com.yh.homestay.pojo.CapitalGoods;

public interface CapitalGoodsService {
    //查询所有物资
  //  public ResultMessage findAllCapitalGoods(Integer page, Integer limit);

    public HomeStayResult findAllCapitalGoods(Integer page, Integer limit, String start, String end, String goodsName);
    //添加物资
    CapitalGoodsResult addCapitalGood(CapitalGoods good);
    //删除单个物资
    CapitalGoodsResult delSingleCapitalGood(String goodsNumber);
    //批量删除物资
    CapitalGoodsResult delCapitalGood(String nums);
    //查询单个物资
    CapitalGoodsResult seleteCapitalSingle(String num);
    //修改物资信息
    CapitalGoodsResult updataMaterielSingle(CapitalGoods good);
}
